import request from '@/utils/request';

export const reqGetCategory1 = () => request({url:'/admin/product/getCategory1', method:'get'});

//GET /admin/product/getCategory2/{category1Id}
export const reqGetCategory2 = (category1Id) => request({url:`/admin/product/getCategory2/${category1Id}`, method:'get'});

export const reqGetCategory3 = (category2Id)=>request({url:`/admin/product/getCategory3/${category2Id}`,method:'get'});

// GET /admin/product/attrInfoList/{category1Id}/{category2Id}/{category3Id}
export const reqAttrInfoList = (category1Id,category2Id,category3Id)=> request({url:`/admin/product/attrInfoList/${category1Id}/${category2Id}/${category3Id}`, method:'get'});

